Source for file LC_Upgrade_Helper_Json.php
Documentation is available at LC_Upgrade_Helper_Json.php
require_once CLASS_REALDIR . '../module/Services/JSON.php';
* Enter description here...
* Enter description here...
* @return SC_Upgrade_Helper_Json
* Enter description here...
if ($this->arrData['status'] === OSTORE_STATUS_SUCCESS) {
* Enter description here...
* @param unknown_type $errCode
* @param unknown_type $errMessage
$arrOStoreErrMsg = $masterData->getMasterData("mtb_ownersstore_err");
$this->arrData['status'] = OSTORE_STATUS_ERROR;
$this->arrData['errcode'] = $errCode;
$this->arrData['msg'] = isset ($arrOStoreErrMsg[$errCode])
? $arrOStoreErrMsg[$errCode]
: $arrOStoreErrMsg[OSTORE_E_UNKNOWN];
* Enter description here...
$this->arrData['status'] = OSTORE_STATUS_SUCCESS;
* Enter description here...
header("Content-Type: text/javascript; charset=UTF-8");
echo $this->encode($this->arrData);
* php5.2.0からpreg_match関数に渡せるデータ長に制限がある(?)ため,
* Services_JSONが正常に動作しなくなる.
* そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する.
* @see SC_Utils_Ex::jsonDecode
return SC_Utils_Ex::jsonDecode($str);
Documentation generated on Fri, 24 Feb 2012 14:02:23 +0900 by Seasoft
|